<cfquery name = "UpdateAccount" datasource="#request.dsn#">
UPDATE core_accounts
SET FirstName='#form.firstname#',
LastName='#form.lastname#',
companyname='#form.companyname#', 
Email='#form.Email#', 
Phone='#form.Phone#', 
address='#form.address#', 
address2='#form.address2#', 
city='#form.city#', 
state='#form.state#', 
zip='#form.zip#',
country='#form.country#'
WHERE id = <cfqueryparam value="#cookie.account_id#" cfsqltype="cf_sql_integer">
</cfquery>

<div id="messages">Your account settings were saved.</div>

<cfinclude template="../frm/edit.cfm">
